package org.example.fastproject.web.sys.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文件记录表
 * </p>
 *
 * @author 王海舟
 * @since 2023-02-01 10:56:41
 */
@Getter
@Setter
@TableName("sys_file")
@ApiModel(value = "SysFile对象", description = "文件记录表")
public class SysFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文件id")
    private Long id;

    @ApiModelProperty("随机文件名")
    private String name;

    @ApiModelProperty("真实文件名")
    private String realName;

    @ApiModelProperty("文件大小")
    private Long size;

    @ApiModelProperty("文件后缀名")
    private String suffix;

    @ApiModelProperty("公开访问路径")
    private String path;

    @ApiModelProperty("已删除（0-否，1-是）")
    private Integer deleted;

    @ApiModelProperty("创建者id")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
